package cn.teduo;

public class dou28 {
        int age;
        String name;
        private String sname;
        private Integer aage;

    @Override
    public String toString() {
        return "dou28{" +
                "age=" + age +
                ", name='" + name + '\'' +
                '}';
    }

    private void save(String sname,Integer aage){
        System.out.println(sname+aage);
    }


    public static void study() {
        System.out.println("皮皮虾，会更美");
    }

    public dou28() {
        System.out.println("我是dou28类的无参构造");
    }

    public dou28(int age, String name) {
        this.age = age;
        this.name = name;
        System.out.println("我是dou28类的全参构造");
    }
}



